package Terminal.UI.InterfacceConsulente;

import java.util.List;

import Terminal.Entity.Dominio.ETask;
import Terminal.UI.*;

public class PannelloElencoTask extends PannelloElencoDecoretor {

	public PannelloElencoTask(PanelComponent parent, List array) {
		super(parent, array);
	}

	@Override
	protected String stampaElemento(Object pr) {
		ETask p = (ETask) pr;
		try{return p.getTitolo();}
		catch (Exception e) {return "ERRORE TITOLO";}
	}
	
	public ETask getObjectSelected(){
		return (ETask) super.getObjectSelected();
	}



}
